import request from '@/router/axios';

export const getList = (current, size, params, type) => {
  return request({
    url: `/api/mes-warehouse/finished/return/order/page`,
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

export const getDetail = (id) => {
  return request({
    url: '/api/mes-warehouse/finished/return/order/detail',
    method: 'get',
    params: {
      id: id
    }
  });
};
